package com.api;

import com.UnifiedBusiness2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * @author Ricky
 * @date 2020-9-4
 */
@RestController
@RequestMapping("/UnifiedBusiness2")
public class UnifiedBusiness2Controller {

    @GetMapping("/getUnitTreeList")
    public List<Map<String, Object>> getUnitTreeList(@RequestBody String dwbm) throws Exception {
        return UnifiedBusiness2.getUnitTreeList(dwbm);
    }
}
